package cn.zhl.leetcode.链表;

/**
 * @program: demos
 * @description:
 * @author: 刘振华
 * @create: 2020-04-02 15:53
 * https://leetcode-cn.com/problems/delete-node-in-a-linked-list/
 **/
public class _237_删除链表中的节点 {
	public void deleteNode(ListNode node) {
		node.val = node.next.val;
		node.next = node.next.next;
	}

}
